package com.educate.ucenter.rpc.api;

import com.educate.ucenter.model.bo.FamilyMemberBO;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.PageRequest;

import java.util.List;

public interface FamilyMemberService {

    void create(FamilyMemberBO bo);

    void delete(FamilyMemberBO bo);

    void delete(String familyMemberId);

    FamilyMemberBO detail(String familyMemberId);

    FamilyMemberBO detail(FamilyMemberBO bo);

    void update(FamilyMemberBO bo);

    Page<FamilyMemberBO> query(FamilyMemberBO bo);

    List<FamilyMemberBO> list(FamilyMemberBO bo);
}
